package com.uuj.dome.base;

import java.io.Serializable;

/**
 * ClassName:BaseEntity
 * PACKAGE_NAME:com.uuj.dome.base
 */
public class BaseEntity implements Serializable {

    /**
     * 分页页码，默认页码为1
     */
    private int page = 1;

    /**
     * 分页，每页数量，默认每页10条
     */
    private int size = 10;

    /**
     * 排序名称，默认id
     */
    private String sid = "id";
    /**
     * 排序正序
     */
    protected String sord = "asc";

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getSord() {
        return sord;
    }

    public void setSord(String sord) {
        this.sord = sord;
    }
}
